class CreateCustomerReviews < ActiveRecord::Migration
  def change
    create_table :customer_reviews do |t|
      t.integer :customer_id
      t.integer :user_id
      t.text :review_result
      t.text :review_advise
      t.string :review_score
      t.datetime :plan_review
      t.datetime :actual_review
      t.string :review_times
      t.string :review_method
      t.string :contact_fail
      t.string :task_type
      t.boolean :is_success, :default => false
      t.integer :status, :default => 0



      t.timestamps null: false
    end
  end
end
